package cn.net.dpi.shp.model.entity;

import cn.net.dpi.shp.handler.MultiPointTypeHandler;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import org.locationtech.jts.geom.MultiPoint;

/**
 * 车道节点实体
 *
 * @author ake
 * @since 2024-12-27
 */
@Getter
@Setter
@TableName(value = "hd_lane_node", autoResultMap = true)
public class HdLaneNode extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 车道连接点编号
     */
    private String nodeId;

    /**
     * 图幅编号
     */
    private String meshId;

    /**
     * 行政区划代码
     */
    private String adminCode;

    /**
     * 关联车道数量
     */
    private Long rLaneNum;

    /**
     * 关联车道
     */
    private String refLane;

    /**
     * 图幅连接点
     */
    private Long conMesh;

    /**
     * 临接图幅编号
     */
    private String conmeshId;

    /**
     * 临接图幅连接点编号
     */
    private String conNdId;

    private String time;

    @TableField(typeHandler = MultiPointTypeHandler.class)
    private MultiPoint geometry;

    private Long fileId;

    private String version;

    private Integer versionFlag;
}
